package com.atguigu.gulimall.member.feign;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * User: haitao
 * Date: 2020/6/14
 *
 * 这是一个声明式的远程调用
 */
@FeignClient(name = "gulimall-coupon" )
public interface CouponFeignService {
    @GetMapping("/coupon/coupon/member/list" )
    public R memberCoupons();
}
